#include <vector>
#include "mpreal.h"

   
mpfr::mpreal reciprocal_func(mpfr::mpreal x);
        
mpfr::mpreal reciprocal_derivative(mpfr::mpreal x);
   
mpfr::mpreal reciprocal_error_derivative(const std::vector<mpfr::mpreal> &coeffs, 
    mpfr::mpreal x0,  int degree); // degree为多项式的阶数
        
mpfr::mpreal reciprocal_get_error_at_x( const std::vector<mpfr::mpreal> &coeffs, 
    mpfr::mpreal x, int degree);
     
   
    
